@import url(./normal.css);
@import url(./header.css);
@import url(./footer.css);
@import url(./aside.css);
@import url(./popup.css);
@import url(./cookies.css);
@import url(./share.css);

/* 新闻盒子 */
@import url(./newBox/hotBox.css);
@import url(./newBox/simpleBox.css);
@import url(./newBox/longBox.css);
@import url(./newBox/recommendBox.css);

@import url(./comment.css);

[v-cloak] {
    display: none;
}

:root {
    --main-color: #00a562;
    --text-color: #1d1d1f;
    --gray-color: #717171;
    --border-color: #dddddd;
    --cate-color: var(--gray-color);
    --input-border-color: #949494;
}

.container {
    position: relative;
    display: flex;
    padding-top: 30px;
    background-color: #fff;
    gap: 24px;
    padding-bottom: 50px;
}

.container-main {
    display: flex;
    gap: 24px;
    flex: 1;
}

.type {
    display: block;
    color: var(--main-color);
    font-size: 14px;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.text-overflow-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    word-break: break-all;
}

.newsbox {
    position: relative;
}

.newsbox a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.main {
    flex: 1;
}

.load {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media screen and (min-width: 1024px) {
    .type:hover {
        color: var(--text-color);
    }
}

@media screen and (max-width: 1024px) {
    .container {
        flex-direction: column;
        padding-top: 0;
        gap: 0px;
    }

    .container-main {
        padding: 0 30px;
    }
}